<?php 
namespace app\common\model\shop;

use think\Model;

class ShopSkillTime extends Model
{
	protected function setStartTimeAttr($v)
	{
		return strtotime($v);
	}
	
	protected function setEndTimeAttr($v)
	{
		return strtotime($v);
	}
	protected function getStartTimeAttr($v)
	{
		return date('H:m',$v);
	}
	
	protected function getEndTimeAttr($v)
	{
		return date('H:m',$v);
	}
}